package com.topteam.demo.dao

import org.apache.deltaspike.data.api.{EntityManagerConfig, Repository, EntityRepository}
import com.topteam.core.DefaultEntityManagerResolver
import javax.persistence.FlushModeType
import com.topteam.demo.domain.Todo

/**
 * Created by thinkpad on 14-2-16.
 */

@Repository
@EntityManagerConfig(entityManagerResolver = classOf[DefaultEntityManagerResolver], flushMode = FlushModeType.COMMIT)
trait TodoRepository extends EntityRepository[Todo, String] {



}
